import React from 'react';
import './styles.css'
const SmartReply: React.FC = () => {
    const replies = [
        '谢谢您的询问！',
        '我们会尽快回复您。',
        '如果您还有其他问题，请告知我们。',
    ];

    return (
        <div style={{ marginTop:'5px',marginLeft:'10px',height:'50px' }}>
            <h3>智能回复</h3>
            <ul>
                {replies.map((reply, index) => (
                    <li key={index} className="smart-reply" onClick={() => alert(reply)}>
                        {reply}
                    </li>
                ))}
            </ul>
        </div>
    );
};

export default SmartReply;